package ru.sh.jewel;

import framework.GameResources;
import framework.managers.TextureManager;
import framework.objects.hero.Hero;


public class BadJewel extends Jewel {
	
	public BadJewel(float x, Hero hero) {
		super(x, hero);
		type = Jewel.BAD_TYPE;
	}

	@Override
	public void onGet() {
		super.onGet();
		hero.downHealth(1);
	}

	@Override
	protected void initPresentation() {
		presentation = TextureManager.getTexture(GameResources.getBitmapName(1));
	}
	
	

}
